<!-- ############################## body content ############################## -->
<div id="body_content">
	<div id="tours_line">
    	<img src="<?php echo base_url(); ?>public/images/home_icon.png" alt="" align="left" style="margin:-4px 5px 0px 0px;" /><a href="<?php echo base_url(); ?>">Home</a> &raquo; <a href="javascript:void(0)"><?php echo $title; ?></a>
    </div>
    <div id="tours_img">
    	<img src="<?php echo base_url(); ?>public/images/slideimg_halong.jpg" alt="" />
    </div>
    <div id="tours_content">
      	<div id="tours_l">
        	<?php //$this->load->view("homes/categories"); ?>
            <div id="support_online"><img src="<?php echo base_url(); ?>public/images/support_online.jpg" width="210" height="135" /></div>
            <div id="travel_guide"><img src="<?php echo base_url(); ?>public/images/travel_guide.jpg" width="210" height="135" /></div>
            <div class="cls"></div>
            <div id="custom_trip"><img src="<?php echo base_url(); ?>public/images/custom_your_trip.jpg" width="210" /></div>
            <div id="tripadvsior"><img src="<?php echo base_url(); ?>public/images/tripadvidor.jpg" width="210" /></div>
        </div>
      	<div id="tours_r">
            <div id="rated_tour" style="height:auto;margin-top:0px;padding-top:0px">
            	<div id="rated_tour_top" style="padding:0px 0px 5px 0px;"><h3><?php echo $title; ?></h3></div>
            	<div id="rated_tour_bot" style="float:left">
                <?php
				if(isset($results) && $results != NULL){
					foreach($results as $tours){	
				?>
                	<div class="tour_items">
                    	<div class="tour_items_l"><img src="<?php echo base_url()."uploads/tours/thumb/".$tours['tour_image1']; ?>" alt="" width="173" /></div>
                    	<div class="tour_items_m">
                        	<p><a href="<?php echo base_url()."view-tours/".$tours['tour_name_rewrite']."-".$tours['tour_id']; ?>.html"><?php echo $tours['tour_name']; ?></a></p>
                            <p>Tour code : <?php echo $tours['tour_code']; ?></p>
                            <p>Tour duration : <?php echo $tours['tour_type']; ?></p>
                            <p>Destinations : <?php echo $tours['tour_destina']; ?></p>
                            <p><?php echo $tours['tour_short_info']; ?></p>
                            <?php 
							if($tours['tour_promo_title'] != NULL){
								echo "<p>".$tours['tour_promo_title']."</p>";
							}
							?>
                        </div>
                    	<div class="tour_items_r">
                        	<p>From USD</p>
                            <div><span class="price_rate">$<?php echo $tours['tour_price_old']; ?></span><span class="price_promo">$<?php echo $tours['tour_price']; ?></span></div>
                            <div class="clr"></div>
                            <p>Per person</p>
                            <p class="whatis">What is include?</p>
                            <a href="<?php echo base_url()."view-tours/".$tours['tour_name_rewrite']."-".$tours['tour_id']; ?>.html" class="viewdetail">View Tour Detail</a>
                        </div>
                        <div class="cls"></div>
                    </div>
               <?php } }else{?>
               <p style="margin-top:30px">No results</p>
               <?php }?>
                </div>
                <div class="cls"></div>
                <div id="pagination"><?php echo $listpage; ?></div>
            </div>
        </div>
    </div>
</div>
<!-- ############################## end body content ############################## -->